package com.ruoyi.common.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName MinIoProperties
 * @Description: TODO
 * @Author cjc
 * @Date 2020/6/5
 * @Version V1.0
 **/
@Component
@ConfigurationProperties(prefix = "minio")
public class MinIoProperties {
    private static String url ;

    public static String getUrl() {
        return url;
    }

    public static void setUrl(String url) {
        MinIoProperties.url = url;
    }

    public static String getAccess() {
        return access;
    }

    public static void setAccess(String access) {
        MinIoProperties.access = access;
    }

    public static String getSecret() {
        return secret;
    }

    public static void setSecret(String secret) {
        MinIoProperties.secret = secret;
    }

    public static String getBucket() {
        return bucket;
    }

    public static void setBucket(String bucket) {
        MinIoProperties.bucket = bucket;
    }

    private static String access ;
    private static String secret ;
    private static String bucket ;
}
